﻿using RockBus.DataContracts;
using System.ServiceModel.Channels;
using System.Threading.Tasks;
using System.Transactions;

namespace RockBus.Routing.Interfaces
{
    public interface IReceivePort
    {
        Task<Message> ProcessMessage(Message message, Transaction transaction, ExchangeTypeEnum exchangeType = ExchangeTypeEnum.OneWay);
    }
}